package com.htcms.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "country_code")
public class CountryCode  implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private String shortName;
	
	private String phoneCode;
	
	private int id;
	
	
	public void setId(int id) {
		this.id = id;
	}

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false, insertable = true, updatable = true)
	public int getId() {
		return id;
	}
	
	@Column(name = "short_name", unique = false, nullable = true, insertable = true, updatable = true, length = 50)
	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	
	
	@Column(name = "phone_code", unique = false, nullable = true, insertable = true, updatable = true, length = 50)
	public String getPhoneCode() {
		return phoneCode;
	}

	public void setPhoneCode(String phoneCode) {
		this.phoneCode = phoneCode;
	}
	
	
}
